import user from "./axios";
export default{
    query:(params)=>{
        return user({
            method:"get",
            url:"/user",
            params
        })
    },
    add:(data)=>{
        return user({
            method:"post",
            url:"/user",
            data
        })
    }
}